<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="./theme/{|$theme|}/admincss.css" rel="stylesheet" type="text/css">
<title>{|$lang.news|}{|$lang.list|}</title>
</head>

<table width="100%" border="0" cellspacing="0">
<form method="get" action="index.php">
<tr class="title">
    <td colspan=4>
		{|$lang.guild|}{|$lang.hall|}
		<input type="hidden" name="module" value="admin" />
		<input type="hidden" name="act" value="guildhall" />
		<select name="cid" class="input" onchange="javascript:form.submit();">	
		{|html_options options=$copyarray selected=$getval.cid|}			
		</select>
	</td>
  </tr>
</form>

  <tr>
    <td class="navtext">{|$gconfig.acttime|}{|$lang.note36|}{|$lang.active|}{|$lang.user|}</td>
	<td class="navtext">{|$userdata.actmems|}</td>
	<td class="navtext">{|$lang.guild|}{|$lang.active|}{|$lang.value|}</td>
	<td class="navtext">{|$userdata.actrate|}</td>
  </tr>
  <tr>
    <td class="navtext" width="15%">{|$lang.user|}</td>
	<td class="navtext" width="20%">{|$userdata.members|}</td>
	<td class="navtext" width="10%">{|$lang.raid|}</td>
	<td class="navtext">{|$userdata.raids|}</td>
  </tr>  
  <tr>
    <td class="navtext">{|$lang.dkp|}</td>
	<td class="navtext">{|$userdata.totaldkp|}</td>
	<td class="navtext">{|$lang.item|}{|$lang.dkp|}</td>
	<td class="navtext">{|$userdata.itemdkp|}</td>
	
  </tr>

  <tr>
	<td colspan="4">&nbsp;</td>
  </tr>
  <tr class="contitle">
    <td colspan="4">{|$lang.work|}{|$lang.configure|}</td>
  </tr>
  <tr>
	<td colspan="4">
		<table border=0 width="100%" cellspacing="1">
			<tr class="navtext">
				<th>{|$lang.work|}</th>
				<th>{|$lang.configure|}</th>
				<th>{|$lang.proportion|}</th>
				<th>{|$lang.earn|}{|$lang.dkp|}</th>
				<th>{|$lang.proportion|}</th>
				<th>{|$lang.spent|}{|$lang.dkp|}</th>
				<th>{|$lang.proportion|}</th>
				<th>{|$lang.current|}{|$lang.dkp|}</th>
				<th>{|$lang.proportion|}</th>
			</tr>
			{|foreach item=cval from=$classdata|}
			<tr bgcolor="{|cycle values="#252525,#161616"|}" class="navtext">
				<td><a href="?module=index&act=standings&obj={|$cval.wid|}">{|$cval.wname|}</a></td>
				<td align="center">{|$cval.cnum|}</td>
				<td align="center">{|$cval.cnum/$userdata.members*100|string_format:"%.1f"|}%</td>
				<td align="center">{|$cval.earn|}</td>
				<td align="center">{|$cval.earn/$userdata.ctotalearn*100|string_format:"%.1f"|}%</td>
				<td align="center">{|$cval.spent|}</td>
				<td align="center">{|$cval.spent/$userdata.ctotalspent*100|string_format:"%.1f"|}%</td>
				<td align="center">{|$cval.dkp|}</td>
				<td align="center">{|$cval.dkp/$userdata.ctotaldkp*100|string_format:"%.1f"|}%</td>
			</tr>
			{|/foreach|}
		</table>
	</td>
  </tr>

  <tr>
	<td colspan="4">&nbsp;</td>
  </tr>
  <tr class="contitle">
    <td colspan="4">{|$lang.race|}{|$lang.configure|}</td>
  </tr>
  <tr>
	<td colspan="4">
		<table border=0 width="100%" cellspacing="1">
			<tr class="navtext">
				<th>{|$lang.race|}</th>
				<th>{|$lang.configure|}</th>
				<th>{|$lang.proportion|}</th>
				<th>{|$lang.earn|}{|$lang.dkp|}</th>
				<th>{|$lang.proportion|}</th>
				<th>{|$lang.spent|}{|$lang.dkp|}</th>
				<th>{|$lang.proportion|}</th>
				<th>{|$lang.current|}{|$lang.dkp|}</th>
				<th>{|$lang.proportion|}</th>
			</tr>
			{|foreach item=cval from=$racedata|}
			<tr bgcolor="{|cycle values="#252525,#161616"|}" class="navtext">
				<td>{|$cval.rname|}</td>
				<td align="center">{|$cval.cnum|}</td>
				<td align="center">{|$cval.cnum/$userdata.members*100|string_format:"%.1f"|}%</td>
				<td align="center">{|$cval.earn|}</td>
				<td align="center">{|$cval.earn/$userdata.rtotalearn*100|string_format:"%.1f"|}%</td>
				<td align="center">{|$cval.spent|}</td>
				<td align="center">{|$cval.spent/$userdata.rtotalspent*100|string_format:"%.1f"|}%</td>
				<td align="center">{|$cval.dkp|}</td>
				<td align="center">{|$cval.dkp/$userdata.ctotaldkp*100|string_format:"%.1f"|}%</td>
			</tr>
			{|/foreach|}
		</table>
	</td>
  </tr>

  <tr>
    <td align="right" colspan="4">{|$lang.sitetitle|}</td>
  </tr>
</table>